package com.macro.mall.model;

import com.macro.mall.query.BaseQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 观光车图片参数
 * Created by macro on 2018/4/26.
 */
@Data
@Getter
@Setter
@EqualsAndHashCode
public class BmsDictData extends BaseQuery {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("字典类型表主键")
    private Long dictTypeId;
    @ApiModelProperty("字典类型名称")
    private String name;
    @ApiModelProperty("值")
    private String value;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("是否启用：0-禁用；1-启用；")
    private Integer isEnabled;
    
    @ApiModelProperty("创建人")
    private Long createUser;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新人")
    private Long updateUser;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("删除标记")
    private Integer isDelete;

    private String typeValue;

    @Override
    public String toString() {
        return "BmsDictData{" +
                "id=" + id +
                ", dictTypeId=" + dictTypeId +
                ", name='" + name + '\'' +
                ", value='" + value + '\'' +
                ", sort=" + sort +
                ", isEnabled=" + isEnabled +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                ", updateUser=" + updateUser +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                ", isDelete=" + isDelete +
                ", typeValue='" + typeValue + '\'' +
                '}';
    }
}
